package com.tencent.wxcloudrun.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Info;

/**
 * @Author ZhaoZiYin
 * @Date 2025/4/29
 * @Description TODO
 */
@Configuration
public class SwaggerConfig {

    @Bean
    public OpenAPI customOpenAPI() {
        return new OpenAPI().info(new Info().title("Spring Boot API").version("1.0.0")
            .description("This is a sample Spring Boot RESTful service using springdoc-openapi and OpenAPI 3."));
    }

}
